#include "mainwindow.h"
#include "ui_mainwindow.h"

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    qssFile = new QFile(":/qss/white", this);
    qssFile->open(QFile::ReadOnly);
    QString styleSheet = tr(qssFile->readAll());

    qApp->setStyleSheet(styleSheet);
    qssFile->close();
}

MainWindow::~MainWindow()
{
    delete ui;
}
